package com.example.birdfriends.pojo.search;

// 接受从前端搜索框传输的数据：可搜索
public class SearchContent {
    // 根据名称和科属过滤搜索信息
    private String section;
    private String name;
    private int curPage;
    private String searchInfo;
    private Long curLoginUid;
    private String category;

    public void printSearch() {
        System.out.println("SearchContent{" +
                "section='" + section + '\'' +
                ", name='" + name + '\'' +
                ", lineNumber='" + curPage + '\'' +
                ", searchInfo='" + searchInfo + '\'' +
                ", curLoginUid='" + curLoginUid + '\'' +
                ", category='" + category + '\'' +
                '}');
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setCurLoginUid(Long curLoginUid) {
        this.curLoginUid = curLoginUid;
    }

    public Long getCurLoginUid() {
        return curLoginUid;
    }

    public void setSearchInfo(String searchInfo) {
        this.searchInfo = searchInfo;
    }

    public String getSearchInfo() {
        return searchInfo;
    }

    public void setCurPage(int curPage) {
        this.curPage = curPage;
    }

    public int getCurPage() {
        return curPage;
    }

    public void setSection(String section) {
        this.section = section;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSection() {
        return section;
    }

    public String getName() {
        return name;
    }
}
